// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '病区护理单元分配',
        name: 'WardAreaNursingUnit',
        url: "/WardAreaNursingUnit/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"WardAreaCode":"","NursingUnit":"","NurseCode":""};
    const editFormOptions = [[{"dataKey":"病区（动态）","data":[],"title":"病区编号","required":true,"field":"WardAreaCode","type":"select"}],
                              [{"dataKey":"护理单元（编号）（动态）","data":[],"title":"护理单元编号","required":true,"field":"NursingUnit","type":"select"}],
                              [{"dataKey":"护士（动态）","data":[],"title":"护士编号","required":true,"field":"NurseCode","type":"select"}]];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'Id',title:'主键',type:'int',width:110,readonly:true,require:true,align:'left'},
                       {field:'WardAreaCode',title:'病区编号',type:'string',bind:{ key:'病区（动态）',data:[]},width:110,require:true,align:'left'},
                       {field:'NursingUnit',title:'护理单元编号',type:'string',bind:{ key:'护理单元（编号）（动态）',data:[]},width:110,require:true,align:'left'},
                       {field:'NurseCode',title:'护士编号',type:'string',bind:{ key:'护士（动态）',data:[]},width:110,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}